/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

import dao.SinhVienDAO;
import java.util.ArrayList;
import pojo.SinhVien;

/**
 *
 * @author Suma
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        SinhVienDAO svdao = new SinhVienDAO();
        ArrayList<SinhVien> dssv = svdao.getList();
        for (SinhVien sv : dssv) {
            System.out.println(sv.getId() + " - " + sv.getName());
        }
    }
}
